package com.lyrcsoft.spring.beans.factory;

/**
 * 后置处理器接口
 *
 * <p>
 *
 * </p>
 *
 * @author fujc-dev@qq.com
 * @version 1.0
 */
public interface BeanPostProcessor {

	/**
	 * 初始化前
	 */
	default Object postProcessBeforeInitialization(Object bean, String beanName) {
		return bean;
	}

	/**
	 * 初始化后
	 */
	default Object postProcessAfterInitialization(Object bean, String beanName) {
		return bean;
	}
}
